package com.youths.service;

import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageInfo;
import com.youths.domain.Recognization;
import com.youths.util.ResultEnum;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: KingRainGrey
 * Date: 2020/7/8
 */
public interface RecognizationService {
//    int addRecognization(Integer slicingID,
//                         Integer raoScore,
//                         Integer chiScore,
//                         Integer touScore,
//                         Integer gouScore,
//                         Integer zhang1Score,
//                         Integer zhang3Score,
//                         Integer zhang5Score,
//                         Integer jin1Score,
//                         Integer jin3Score,
//                         Integer jin5Score,
//                         Integer zhong3Score,
//                         Integer zhong5Score,
//                         Integer yuan1Score,
//                         Integer yuan3Score,
//                         Integer yuan5Score,
//                         Integer kind,
//                         Integer state);
    int updateRank(Recognization recognization);

    int add(Recognization recognization);

    int addChn(Recognization recognization);


    List<Recognization> getRecogList(Integer slicingId);

    Recognization query(Integer recoId);

    ResultEnum analysisProcess(Integer sliceId, Float height, Float weight, Integer youthId);

    PageInfo getRecoList(Integer pageNum, Integer type, String date1, String date2, Integer recoId, Integer slicingId, String card);

    JSONObject getRecoDetail(Integer recoId, Integer slicingId);
}
